﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Studio.Foundation.Text;

public partial class GBKSpell_GBKSpell : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void Button1_Click(object sender, EventArgs e)
    {
        this.TextBox1.Text = string.Empty;
        string str = null;

        str = "上海交通大学";
        this.TextBox1.Text += ("Spell=" + GBKSpell.GetFullSpell(str) + "\r\n");
        this.TextBox1.Text += ("Acronymes=" + GBKSpell.GetAcronymes(str) + "\r\n");

        str = "张牙舞爪》。，";
        this.TextBox1.Text += ("Spell=" + GBKSpell.GetFullSpell(str) + "\r\n");
        this.TextBox1.Text += ("Acronymes=" + GBKSpell.GetAcronymes(str) + "\r\n");

        str = "孙悟空，猪八戒。";
        this.TextBox1.Text += ("Spell=" + GBKSpell.GetFullSpell(str) + "\r\n");
        this.TextBox1.Text += ("Acronymes=" + GBKSpell.GetAcronymes(str) + "\r\n");
    }
}